<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title>论文上传</title>   
		<s:include value="../common/source.jsp"></s:include>	
		<script src="js/Limit.js"></script>	
  </head>
  <body>
   <script>
/* document.write(extArray.join("  ")); */
</script>
  <!-- 论文上传开始 -->
  <div class="body">
		<form class="sui-form form-horizontal sui-validate" action="teacher/modifyPap2.action" method="post" onsubmit="return LimitAttach(form, file) " enctype="multipart/form-data">
	  <table class="sui-table table-vzebra table0" >
                    <tbody>
                     <tr>
                        <td>论文类型</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value=0 name="pape.type" type="hidden" data-rules="required"><i class="caret"></i><span>期刊论文</span>
                </a>
                <!-- <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">期刊论文</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="templates/teacher/Conferencepaper.jsp" value="1">会议论文</a></li>                    
                </ul> -->
              </span>
            </span>
          </div> </td>
                      </tr>                   
                      <tr>
                        <td>论文名称</td>
                        <td>  <input type="text" class="input-large"  data-rules="required" name="pape.name" value="<s:property value="pap.name"/>"> </td>
                      </tr>
                       <tr>
                        <td>第一作者</td>
                        <td> <input type="text" class="input-large" data-rules="required" name="pape.fauthor" value="<s:property value="pap.fauthor"/>"> </td>
                      </tr>
                        <tr>
                      <td>第一作者是否学生</td>
                        <td> <div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="<s:property value="pap.topStu"/>" class="input-large" name="pape.topStu" type="hidden"><i class="caret"></i><span>
                  <s:if test="pap.topStu==1">是</s:if>
                  <s:elseif test="pap.topStu==0">否</s:elseif>
                  </span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>是</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>否</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>
                        <tr>
                        <td>通讯作者</td>
                        <td> <input type="text" class="input-large" data-rules="required" name="pape.tauthor" value="<s:property value="pap.tauthor"/>"></td>
                      </tr>
                       <tr>
                        <td>其他作者</td>
                        <td><input type="text" class="input-large" data-rules="required" name="pape.oauthor" value="<s:property value="pap.oauthor"/>"></td>
                      </tr>
                       <tr>
                        <td>发表刊物名称</td>
                        <td>  <input type="text" class="input-large" data-rules="required" name="pape.pbulication" value="<s:property value="pap.pbulication"/>"> </td>
                      </tr>
                        <tr>
                        <td>刊号</td>
                        <td><input type="text" class="input-large" data-rules="required" name="pape.pubNumber" value="<s:property value="pap.pubNumber"/>"></td>
                      </tr>
                      <tr>
                        <td>卷(期)</td>
                        <td><input type="text" class="input-large" data-rules="required" name="pape.volume" value="<s:property value="pap.volume"/>"></td>
                      </tr>              
                    <tr>
                        <td>起止页码</td>
                        <td>  <input type="text" class="input-large" data-rules="required" name="pape.pubPage" value="<s:property value="pap.pubPage"/>"></td>
                      </tr>
                   <tr>
                      <td>发表时间</td>
                        <td>  <input type="text" class="input-large" data-toggle="datepicker" value="<s:date name="pap.date"  format="yyyy-MM-dd" />" name="dates"></td>
                      </tr>
                        <tr>
                        <td>是否ESI论文</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="<s:property value="pap.esi"/>" name="pape.esi" type="hidden" data-rules="required"><i class="caret"></i><span>
                  <s:if test="pap.esi==0">是</s:if>
                  <s:elseif test="pap.esi==1">否</s:elseif>
                  </span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>是</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>否</a></li>                  
                </ul>
              </span>
            </span>
          </div> </td>
                      </tr>
           <tr>
                        <td>期刊类型</td>
                        <td>  <div class="controls">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="<s:property value="pap.jclass"/>" name="pape.jclass" type="hidden" data-rules="required"><i class="caret"></i><span>
                  <s:if test="pap.jclass==0">TOP期刊</s:if>
                  <s:elseif test="pap.jclass==1">国际期刊</s:elseif>
                  <s:elseif test="pap.jclass==2">A类期刊</s:elseif>
                  <s:elseif test="pap.jclass==3">B类期刊</s:elseif>
                  </span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>TOP期刊</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>国际期刊</a></li>
                   <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=2>A类期刊</a></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=3>B类期刊</a></li>               
                </ul>
              </span>
            </span>
          </div> </td>
                      </tr> 
                      <tr>
                      <td>收录类型</td>
                        <td> <div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="<s:property value="pap.include"/>" class="input-large" type="hidden" name="pape.include"><i class="caret"></i><span>
                  <s:if test="pap.include==0">SCI</s:if>
                  <s:elseif test="pap.include==1">EI</s:elseif>
                  <s:elseif test="pap.include==2">ISTP</s:elseif>         
                  </span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu" name="paper.include">
                 <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>SCI</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>EI</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=2>ISTP</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>
                       <tr>
                      <td>收录编号</td>
                        <td> <input type="text" class="input-large" data-rules="required" name="pape.includNum" value="<s:property value="pap.includNum"/>"> </td>
                      </tr>
                      <tr>
                      <td>他引次数</td>
                        <td> <input type="text" class="input-large" data-rules="required" name="pape.quoteNum" value="<s:property value="pap.quoteNum"/>"> </td>
                      </tr>
                       <input type="text" name="papid" value="<s:property value="pap.papId"/>" style="display:none;">
                      <input type="text" name="teaid" value="<s:property value="pap.teaId"/>" style="display:none;">
                      <input type="text" name="upname" value="<s:property value="pap.upload"/>" style="display:none;">
                      <tr>
                      <td>上传文件</td>
                        <td>  <input type="file" name="fileCom">  </td>
                      </tr>
                    </tbody>
                  </table>
	  <div class="control-group button3">
          <label class="control-label v-top"></label>
          <div class="controls">
            <button type="submit" class="sui-btn btn-primary" onclick="return LimitAttach(this.form, this.form.fileCom.value)">提交</button>            
            <button type="reset" class="sui-btn">重置</button>
          </div>
        </div>
	</form>
	</div>
	<!--论文上传结束 -->
         
         <script>
         if("<s:property value="suc"/>"=="success"){
         alert("上传论文成功！！！");
         }
         
         </script>
  </body>
</html>
